--面板显示基类
--create by lwt
--date 2018-4-12
require "Common/class"

BasePanel = class("BasePanel");

function BaseCtrl:ctor(name)
	self.name = name
end


function BasePanel:Awake(obj)
	self.gameObject = obj
	self.transform = obj.transform
	self:InitPanel()
end

function BasePanel:InitPanel()
	-- body
end

function BasePanel:DestroyPanel()
	destroy(self.gameObject)
end

